package com.randao.manage.user;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EntityScan("com.randao.framework.model.domain")//扫描实体类
@MapperScan(basePackages = {"com.randao.manage.user.dao"})
@ComponentScan(basePackages = {"com.randao.api"})//扫描接口
@ComponentScan(basePackages = {"com.randao.manage.user"})//扫描本项目下的所有类
public class RdServiceManageUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(RdServiceManageUserApplication.class, args);
    }

}
